package com.ku.user.client;

import com.ku.user.client.impl.OrderApiClientImpl;
import com.ku.user.config.feign.FeignSupportConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "order-service",fallback = OrderApiClientImpl.class,configuration = FeignSupportConfig.class)
public interface OrderApiClient {

    @RequestMapping(value = "api/order/index",method = RequestMethod.GET)
    public String index();
}
